﻿
<?php echo $header; ?>
<div class="container">   
	<div class="content">
    	<div class="bodyLeft">
        	<?php echo $column_left; ?>
        </div><!-- end body left -->
        <div class="bodyRight">
        	 <?php require_once("catalog/view/theme/fritids/template/slideshow/slider.php"); ?>
            <div class="body-content">
            	<div class="heading">
                    <h2>NYHEDER</h2>
                    <img class="imgTemp" src="catalog/view/theme/fritids/src/images/imgTemp1.png" />
                    <div class="clear"></div>
                </div>
               <div id="news-div">
                <?php foreach($contents as $content){ ?>
                    <div class="news-block">
                        	<a href="<?php echo $content['readmore']; ?>"><img src="<?php echo $content['image']; ?>"</a>
                            <div class="news-block-content">
                            	<h3><a href="<?php echo $content['readmore']; ?>"><?php echo $content['title']; ?></a></h3>                  
                                <p><?php echo $content['text']; ?></p>
    							<a class="more" href="<?php echo $content['readmore']; ?>">Mere</a>
                            </div>
                            <div class="clear"></div>
                        </div> 
               <?php }  ?>

				</div>
                <?php //echo $pagination ?>
			</div>	
		</div>      
	</div>
</div> 
    <?php echo $footer; ?>